package com.fowo.api.model.spu.product;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import javax.validation.constraints.*;
import lombok.Data;

/**
 * SUP包含产品 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Data
public class SpuProductImportPo {

  /** SUP */
  @ExcelProperty("SUP")
  @LongString(message = "SUP数值格式不正确", label = "SUP")
  private String supId;

  /** 产品id */
  @ExcelProperty("产品id")
  @LongString(message = "产品id数值格式不正确", label = "产品id")
  private String productId;

  /** 属性 */
  @ExcelProperty("属性")
  @LongString(message = "属性数值格式不正确", label = "属性")
  private String attribute;
}
